SQL error removed in the removeChannel method