some ios8 fixes