fix up search formatting