fixed the replay