unsafe api on msvc