Fixing performance for ios