fix db hostnames