fix error if partofdim is not a dim name