fixed bugs in packman