fixed orphaned type reference