added clearSearch event