make heroku compatible attempt 3