add replay
reset fix