fixed fxcop warnings