fix the default namespace handling in the injection mode