c++11 bugfix