fixed 2 stylecop warnings