cleaning up license