updates vars to match issue #1wq