fixed the weakening factor computation