checking bug with get-amount; throws bogus exception
resolve get-amount bug