Fixing replay bug in simulate crashes and error reporter bug