Fixed config reader.