remove redundant source entries