revert some resharper changes