Fixed a computation issue.