fix search exceptions