fix for C++98