fix for zero amount
Merge pull request #73 from vomikan/master

fix for zero amount