update view file to fix heroku