zmat_mat further fixing...