updated to satisfy heroku warnings