bug fix: location sensor