fix heroku application error