Amount_channels deleted out of try