keep the propaties of tag(fixes #2496)

keep the propaties of tag(fixes #2496)