compliant with gem_package - patch v