fixed handledatamatrix