fix for MSVC