fixed the winning bug :D