Fix MXP bug for code 4.