Fix startup for app.