fix reference to the LineMemoryRecord