bug fix in check_injection.py