Cleans out errant references to a  variable in view helpers.