fix no flights exist error