heh, chans array has lowercase keys but 'to' is mixed case.