Potentiall fixed a bug for winning.