fixing tag elements