fix ios restart