revert mesh.py