fix demographics upload error

fix demographics upload error