Fix fetch_events task