misc fix and license update