Attempts to fix scope issue.