handle app initialization error