added g to the tag rewrite s///