fix bug for package