fix some packery bugs and other changes