fixed message parser to collect configuration data properly