fix for c++11
accepted in C++11