fixed sample app for heroku deploy