Sorting out heroku problem