Correct name of record fields.

It looks like you meant :in and :out not :in-ch and :out-ch as keys for the record.