fix a couple minor search issues