finish the annex syntax check