improve SearchType usage