print CString correctly