Fixed syntax error causing 502