removed pkgname check