fixed a few more bugs in the packaging