Bug fix for Host on DB connection