added some fixes for MMIO regs