Fix duplicate variable declaration.