cleanup after package check