Fixed iOS 7 compatability.