fix some problem, complete set alias and tag function