Visual Studio corrections