fixing output converter