fixed hasRepeat bug
Merge pull request #48 from sappo/master

fixed hasRepeat bug