fix for MSVC++