fixed code analysis rulesets and violations