iOS platform fix