fixes double winning bug