reverted a change to license_id check