Fixed a duplicate variable declaration