fix not checking if event has block