Fix cMsgFlag value