Mesh fixing in Sparks