modify covariate data formatting