fix for msvc