added guard against undefined suite