fix accessors to use :struct bullcrap