Use correct uri for internal database