adding fallback for type_id miss
more tests