fix ios and rest api v3