rich text fix for undefined start value