Fix memory.