checking event.path