fix chanmode support