fixed huge bug on start for iOS 8