Solve the problem of calculation error.