search dialog build bug fix