config reading debugged