fixing ios prepare
add ios prepare