remove hard vars