fixed problem with osd_cat and the input parameters