fix -Ios adaptation