msgtype validation