make MSVC happy with this code