fix ios version support