Removes a duplicate variable