Fixed heroku bug that was causing the application to fail