fix layout of wire structure