fixed some stuff for heroku