Fixed code analysis issues.
Fixed code analysis issues (arl.py).