fixed ConfigurationSubstitutionVisitor

@andreistefanescu please review