fix for tracks with no waypoints