correct error in packages