licensing fixes