save positions as attr instead of colnames