Fixed IMC error logging.