bug in checking the tiers and unexpected data formatting : keep_output as empty list