fixed tag close action
bug fixed on tag mode