fix some issues to push to heroku
attempting to fix connection issue