calculations correction