Be sure to have wireframe turned on, so you can select all the vertices and merge them, because you have X ray and you might not be able to select all the vertices.
Also if you turn “Face Orientation” On, you’ll see faces with flipped normals. For some reason recalculating them doesn’t work. You can do that manually.
