small fixes, and license