fix didFinishLaunchingWithOptions error