fixing external search