Fixed ability to switch channels in read func.