fix the error in heroku