Fixed autopilot bug and infinite seed bug