modify pctype and interface