maybe fixed it for msvc