removed a needless var