fix bug for player2