fixed the broken auto pilot command