ios performance fix