Fetched qc_amount_calculation from out of date branch