Acid gas control