Finish tag remove function.