fixes license check error #589 at oc