remove unused licences