fix packman bug