fix warning on msvc