[kkc] add protection of dict creation failure