Fixed the mesh connection issue