fixing ios issue