fix License Spec bug with checkLicense