bug fix for pics on heroku