Fix license generation