Correcting alarm lines and high/low values