cohort bug fixed