fix iOS issue