corrected pkgs variable name