[backend] fix channel dependency calculation