fixing bug in Dim1.cxx