add back license check