bug with setting/getting cohort gender value