bug fix

fixed win condition issues