merge return value of wrong-tag-handler into the ast