fixing cohort upload, have to test on labs

Change-Id: I32c28ad5a3554dd268ea0d483ebed8d02c1049ff