Fixed double pkgs definition