fix for extending to .net 3.5