Fixed issue with NSAttributedString