fixing the available regs stuff II