appointment controller changed line because it was breaking heroku