fix for preventing leading 0s in amount