fixed msvc error