bugfix in c++11 transform