Mesh fixing in Gentry