minor bug fix with win count