config reader fix