allow dbstruct without class check