Downgraded code to from .NET 4.5 to .NET 4