move msg_gen out of sebs_parse_fw