fixed stylecop-warnings