Fix config reader.