Fixed type in deletion of channels