errors fix and display cohort names with keys