Fixed issue in Pilot controller