Fix error in generate_unique_token, when channel_tokens is empty
Attempt to new fix channels tokens