fix a bad code convention refactor for WEB-8977 +review WEBCR