fix up search a little