solved autopilot crashing