fix getOpponentName() method