fixed check signature bug
Merge pull request #16 from rgex/master

fixed check signature bug