cleanup licenses