fixing port numbers to work with heroku