fixing db hostobject issue