fixed mesh reading