remove duplicate variable