fix for amount issue