Fix parsing of memory address