fix Search global leak