Bad performance on iOS devices