Work around for ios issue.