fixed osd creation