fixed search events and added stupid loading indicator