fix the bug of the tag