Added terminations for the syntax error