fixed scope of location bug
Merge pull request #55 from ednapiranha/master

fixed scope of location bug