fix private package bug