in case of error with API just set @events to []