workaround MSVC bug