Fix an error in channel layers remove #84294