Fix locationProvider