remove the cout debug info in str_functs.cpp