visual studio fixes.