fix PR bugs for sign test