fix search errors