fixing auto pilot