fixed silly bug in threshold_proportional