fixing issues with activation throwing error on ms installs