cleans up package information