added policy check for MSVC