fixing for ios