fix irrelevent unique terms