fixed config file read