correcting package definitions