fix sizes (ulongs in regs, not uints)