remove duplicate licenses