Fix stand alone app.