fixed sub-tags problem in animation tag