fix mistakes of  using iRRAM