minor: typo, license and one simplification