Fixed some replay bugs

- fixed some replay bugs