Fixed problem with winning