fix for config file reader