fix the searches error 500