flight delete bug fix