format searchreport but first output getting chopped