Fixed a scoping issue