remove unlicensed codes