fix message group id check bug