Fix the bug in output total change.