removes unsused variable