remove duplicate / useless entries