One last bug concerning weighting removed