Cleared some memory to avoid potential issues.