corrected visual studio compiling
some more correction