Resolving iOS issue