fixes #7519: fixed replay_mod timing issu.