remove local db from uristring