fixing packaging and dependencies