fix Player class