Fix unweighting