resolve ios warning