bug fixed for search flight