fix search problems