c++11 fix format