fixed ios issue