to address binary type issue.
Merge pull request #160 from gigonaut/master

to address binary type issue.