fixed active admin and heroku related errors