added each, for sytnax & html node support & bug fix