fix db url