fix route bugs for 1 waypoint