fixes heroku image parsing problem