modify the message code criterion