fix bug in mirroring channels