minor bug fixes in replay loading