fix ios issues