fix for comma cleaning code when amount is an integer