Fixing Application Domain issue.