check for platform_family, not platform