The critical detection efficiency for closing the detection loophole of some modified Bell inequalities