made "variable=" delete the variable
added a bit better error reporting