delete protocol and reconstruct type domain