Fix potential crash caused by channels4()

Seems like a simply C&P bug.