Fixed heroku application error