Fixed another variable scoping issue