catch repeated variables
more efficient scopeVars