pilot logic fixed