workaround for event context