little fix in replay