fixed duplicate removal from useless list