fix osd regression