tags directive fix