ios8 nsattributedString bug fix