resharper code clean up