fix type license