fix reading config
merge