bug fix for no amount