some bugs to fix
lic header