fixed problem in cohort