Bug fixed in SRAMcontroller