fix tag count