tidy up search content