added a missing reference to the evt object