Error correction mode (ECM) is an optional transmission mode built into Class 1 fax machines or fax modems . ECM automatically detects and corrects errors in the fax transmission process that are sometimes caused by telephone line noise.