fixed comparison
Merge pull request #33 from Doomhammer458/master

fixed comparison