fix for crappy c#