fix ios buggs