fix warnings on heroku deploy