fix bugs #472 and #462
Merge branch 'master' of https://github.com/moneymanagerex/moneymanagerex
updated for pull request 184
Merge pull request #185 from siena123/master

fix bugs #472 and #462