fix memory map for ROM