fixed but that causes loss of column names when stratified by multiple variables