clean up license management