fixed error in waypoints