Trying to fix heroku using Stackoverflow answer