Remove duplicate variable