divide tags by comma