resolve error on MSVC