couple fixs for heroku deploy