Rewrite tags in lowercase