Fix licensecheck