Fix Memory access offset=0 size=8 is out of bounds