fixed bug with global installs.