bug fix: remove tags from history after they vanish