Fixed a scope error.