fixed C# stuff