fixing packaging bugs