The correct syntax for unsetting a variable is unset %varname