search not crashing *at least as much* and seems to be ok for now