resolve ios message problem