added injection detection