handle non-typedef structs