fixed some issues with set start and end waypoint