I think the error message is because you are using 'var' where you should be using 'set'

rm