fixed heroku flaw