add tag attr support