fixed typeof() was uncorrectly used
Merge pull request #7 from chrmor/master

fixed typeof() was uncorrectly used