fixed a typo in player class.