clean up license