add some function to tag and his child