Vars not None working