fixed stupid error
Merge pull request #58 from purplefish32/ispattern

fixed stupid error