fixed platform vs platform_family error