fixed multidim for ref-area in multilines