fixed currentPlayer bug