some reweighting fixes