fix and complete zigbee thread