fix qinfo_template