fixed some stylecop warnings