Fix sparse problem.