Fix with calculation

Authored by nicolasfella on Nov 2 2018, 2:47 PM.