fix calls to setreg/u/id