Fixed duplicate variable declaration.