some licensing fixes