fixed c# issue