Fix bug in channel model, v0.2.5.