osd text length fix