remove trailing zeros from amount (NEED REFACTOR?)