Fixing inherited value-by-reference problem

When using configuration objects, giving a configuration path in the function leads to overruling the configuration value, leading to errors for the subsequent calls.