fixed bug in searching, searching for events complete