fix ios background issue