fixed findEvents and deleteEvents