a better working deletechannels