Fixed tag removal error