inconsistency with defstruct var names and vars in db caused conflict, fixed