Calculation of acid addition is wrong