resolve warning on MSVC