resolve bug in LocationController
Merge pull request #4 from Senorihl/master

resolve bug in LocationController