fix bug when isRepeated equals 'no'
Merge pull request #1 from allenfantasy/patch-1

fix bug when isRepeated equals 'no'