fix reversi bug