gix bug by updating cppcommon/str_functs.cpp