fix issue with heroku.

will need another commit