fix force calculation.