small bugfix for iOS 7