fix issues about heroku