cleanup
get struct from field reference