Resolve validation errors and mesh issues