hotfix for location endpoint