make tag insert generic