fix  for waypoints_range