fix the call to autopilot