minor bug fix for charged_amount method