made the tags work properly