dbstruct check with pre and postprocess