compacted config reading