fixes some issues with heroku dsns that cropped up while I was testing heroku support