Fixed typo in build_channel