bug fix

bug fix on sending commands to end devices