db unique cities fix