resolve code analysis problems