sanitize get_amount