fix for zero amount
Merge pull request #74 from vomikan/develop

fix for zero amount