Fix the problem of compatibility.