fixed repeat trigger bug