prevent pkgs from being loaded more than once