Fixed error when select channel.