fix package definitions