fixed mesh loading bug