fix sparsity format