fix for ios8