adapt to new format of db-host;