fixed stylecop warnings