fix for C#