bug when stop and replay