fix compute all weaks