Fix.
Forgot to rename chan to channel.