Fix the old sample app.