Put tag in correct place