updated the indirect flight but have some bug