fix boost calculation