fix a msvc warning