fixed bug with door wires and device wires