Fixed a small scope issue.