Fix broken app startup.