change config parsing