fix pn for ios