fix waiting modes in decode capi