fixed navmesh bug