fixed some minor bugs
Merge pull request #1 from Spendmatic/master

fixed some minor bugs