fix heroku depracating errors
fix more heroku stuff