failed to fix the replay_mode bug Orz..