add retry for SID of 0, fix set_led