new location api
special case on empty category