modify print macro in str_functs.hpp