fixed nested config setting, we do need tests for this