fix removing tag