fixed reg_set