Fixed image remove bug in heroku