Fixed duplicate variable