search view controller optimize