Fixed a syntax error causing 500s