some required patch for dotnet