add support for ios8