Fixed ref to keych_t