iOS 8 fixes including bug #66