cleaning up licenses