Fix App Delegate