fix db urls