fixed syntax error -- led to crash on heroku