Fix package_type