Sorting DB location issues