fix: duplicate variable declaration