fix getPlayerIdByName