fix bug for SparseMatrix