fixed NPE with MS .Net in System.dll
temp fix for StackOverflowException
fixed error - while dll is not registered