fixing aws issues with heroku