fixes for iOS 7.1 nonsense