trying to fix search leak

fix leak