fixed save replay bug