yali: fix setting resume option