fix init and license