Added block close mismatch syntax error