clean up warnings from msvc