fix ctor dbmodel, add first CG