fix checking length of input in player class