fix attributed string