code cleanup configreader .2