emit replayend event