Fix the result bugs.