deal with attributed string