Fixed the reference to be to the local variable

Sorry, my OCD kicked in :wink:
Merge pull request #34 from hassankhan/patch-1

Fixed the reference to be to the local variable