Magdec correction