removes license duplication