change to fix issue with creation of dbobjects programmatically