Fixed the reference to be to the local variable

Sorry, my OCD kicked in :wink: