Fixed replay bug.