fix code analysis