fix and test check_lineup