tags directive merge