Fixes after changing read_mesh