modification on config reader