fixed more MSVC compiler warnings