remove unwanted closing operation tag