fixed StyleCop warnings