correction on richtext instance