Fixed an calculation issue
Merge branch '2.0'