get correct pkgs