remove another reference to replaceVars