fix for issue #94

SetVar now handle negative integers