copied this fix from @subdigital 's fix https://github.com/domesticcatsoftware/DCIntrospect/pull/67