remove sparse_matrix from solution