fix bug with package