Remove a reference problem that would create a memory problem.