Fix read memory