fixes a long standing channels bug