corrected broken fix on config file reader