fixed Heroku and Rails stuff