adjust to TS0.9.5
unknown close tag bug fix