Fix runtime scope issue.