fixed bug in channels edit