Fixing a memory issue.