fix repeated play bug