restore the length var and fix the com_dotnet ini