corrected bug in waypoint editor