Fixed error in Visual Studio