fix bug in claculating local score, revise acc_weight -> weight