use getChannelByIndex while reading actions