clean tags before dispatching changeTags