fixing win/lose