fixed winning percentage issue