more correct save of dims in R12