fix the licensecheck