fix weight issue for oversampling