temp
fix problem validating edited amounts
simplify validate_amount