remove complex struct