resharper

fix resharper issues