Fixed calculation error
Fixed calculation error