Fixing the locations api url