Fix initialization of sram