fix bug with lic