more fixes on the new configuration code
fix another bug due to variable rename