Fix weak referencing issue.