fixed ConfigurationSubstitutionVisitor
Merge pull request #1108 from yilongli/fix-cfgsubstvisitor

fixed ConfigurationSubstitutionVisitor