fix for C++11