Fixed syntax error by moving }