fix header typo and win loss logic