Fix weighting