added handling for nil kind name (only happens due to some old test items)