fix search errrs