Fix send_commandd bug