eliminate some unnecessary uniqs