fix for calculation