Fixed the complete calculation problem.