fix name mismatch before flight