fixing image rendering for heroku