final fix of wire toggle